<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="f"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>

<body>
<div class="container">
		<div class="col-lg-2"></div>
		<div class="col-lg-7">
	<f:form action="user/update/update_save" modelAttribute="employee" id="updateform"
		method="POST">

		<f:hidden path="id" />		
			<br>
			<br>lastName:
			<f:input path="lastName" />
		<br>
		<br> Email:
			<f:input path="email" />
		<br>
		<br> birth:
			<f:input path="birth" />
		<br>
		<br> department:
			<f:select path="department.id" items="${departments }"
			itemLabel="departmentName" itemValue="id"></f:select>
		<br>
		<br>Actor:
		<f:select path="actor.id" items="${actors}" itemLabel="name"
			itemValue="id"></f:select>
		<br>
		<br>
	</f:form>
	</div>
	</div>
</body>

</html>